home *** CD-ROM | disk | FTP | other *** search
- Appendix D
-
- Modifying the MCA.ADL File
-
- PCs with Microchannel Architecture (MCA) allow QEMM to know what
- devices are installed. QEMM-386 uses a file called MCA.ADL (ADL is
- for Adapter Description Library) to store information about the
- various Microchannel cards. The MCA.ADL file is a collection of
- information from many Adapter Description Files (ADFs). In PCs with
- Microchannel Architecture, such as the IBM PS/2 series Model 50 and
- above, every adapter is supplied with its own unique number and a
- file describing the device. These ADF files all have a name in the
- form "@????.ADF", where ???? is a four digit hexadecimal number,
- assigned by IBM.
-
- The ADF files are stored on the "Reference Diskette" and are used by
- the SETUP program to configure the peripheral devices correctly.
-
- When QEMM.SYS is loaded on a Microchannel Architecture computer, it reads
- its MCA.ADL file to be sure that the correct areas of memory are
- INCLUDEd and EXCLUDEd. This provides maximum reliability and performance
- of both QEMM and the other devices. Since new devices are being announced
- all the time, it is possible that some adapters may not have an entry in
- MCA.ADL. If a particular adapter in the machine is NOT in the MCA.ADL file,
- then QEMM indicates that it cannot locate adapter id "XXXX", where the "XXXX"
- will be the hexadecimal number of that device. QEMM should still be able to
- function, although it may not correctly INCLUDE and EXCLUDE the correct areas.
-
- It is possible to modify the MCA.ADL file yourself quite easily. First, you
- must locate the ADF file associated with the device. It should be on the
- "Reference Diskette" for your computer.
-
- ~Step~Place the Reference diskette into the floppy drive.
-
- ~Step~ Type DIR A:and press <Enter>.
-
- except that you should replace the "XXXX" with the adapter id
- number which QEMM could not recognize.
-
- If you get "File not found", then you have not used the proper
- Reference diskette. The Microchannel Architecture computer will not
- function properly until all of the adapters have been correctly
- installed so you must have a reference diskette with the proper
- file. You may also be able to find the ADF file on the diskette
- which came with the adapter.
-
- Once you find the ADF file, you should print out a copy of the
- file. You need the "Adapter ID" line, the "AdapterName" line, and
- the various "pos" and "mem" lines. You may find the other
- information interesting, but it is not necessary for the ADL file.
-
- Make a copy of the MCA.ADL file to keep as a backup in case
- something goes wrong:
-
- ~Step~ COPY MCA.ADL MCA.SAV and press <Enter>.
-
- ~Subhead~ Sample ADF File
-
- Shown below is a sample ADF file and the associated entries which
- would be put into the MCA.ADL file. As you can see, the format of
- the entries is slightly different, but the information is
- essentially the same.
-
- GRAPHIC NOT SHOWN
-
- The format of the ADL file consists of the following:
-
- ~Item~ The first line is the four digit hexadecimal number followed
- by the name of the device. Each of the lines ends with a {Return}
- and {Line Feed}.
-
- ~Item~ The next lines are the "pos" and "mem" entries, they must be
- indented by one space character. The "1", "0", and "X" items are
- the "switch settings" for this device. By looking at the "Help"
- text for the device, you can usually tell if the memory areas
- specified are for AROM or ARAM. If you can't really tell, the best
- choice would be EXCLUDE (/X). You place the memory range, just as
- it might appear on the QEMM386.SYS line except that a "/" is added
- to the parameter,one space to the right of the "switch setting".
- Each of the switch settings is for a particular "pos" entry,
- although you only care about the "pos" entry which is associated
- with the "mem" entry. If, for example, the "mem" entry is
- associated with "pos[1]" then you must place an "X" and a space
- before the "switch setting" entry:
-
- pos[1]=XXXX0101b mem 0d4000h-0d7fffh
-
- would result in:
-
- X XXXX0101 /AROM=D400-D7FF
-
- You should note that QEMM entries do NOT have the "fifth" "0" or
- "F", and do NOT have a leading "0".
-
- ~Subhead~ Using the MCA.ADL File
-
- The process in using the MCA.ADL file is:
-
- ~Item~ QEMM finds an adapter ID in the computer
-
- ~Item~ QEMM searches the MCA.ADL file until it either finds a
- matching ID number, or a higher one (they are listed numerically)
-
- ~Item~ QEMM then reads the "switch setting" for the particular
- "pos" entry (pos[0], pos[1], etc) and compares it with the list
- following the Adapter ID number. (All the switch setting values are
- indented by one space, so if no match is found before the next
- Adapter ID, then QEMM does nothing else.)
-
- ~Item~ QEMM takes each of the "/" items that match and treats them
- as though they have been specified on the QEMM386.SYS line.
-
- By examining the other entries in the MCA.ADL, you should be able
- to add your device. You also can manually add the appropriate AROM,
- ARAM, INCLUDE, and EXCLUDE items on the QEMM386.SYS line without
- modifyingthe MCA.ADL. You may want to add NOPAUSEONERROR (NOPE) to
- the line as well to avoid the "press any key..." prompt each time
- the computer boots.
-